<template>
  <div>
    <Vx :item-data="{'service':videoData,'title':'视频花絮'}"></Vx>
  </div>
</template>
<script>
  import Vx from '../components/common/Vx'
  export default {
    name: 'Sphx',
    mounted() {
      var me = this;
      //请求接口获取 9 条 视频数据
      me.$http.get('http://m.nsr.com.cn/xinsilu/v1/column/content/259?max=9&offset=0&type=2&siteid=1', {
        params: {}
      }).then(response => {
        if (response.data.code == 'R0000000') {
          me.videoData = response.data.data.returnList
        }
      }, response => {
      });
    },
    components: {
      Vx
    },
    //数据
    data(){
      return {
        videoData:{},//视频数据初始化，往子组件传递用
      }
    }
  }
</script>

<style>
</style>
